package org.yinweichen.llm_dataset_backend.service;

import org.springframework.http.ResponseEntity;
import org.yinweichen.llm_dataset_backend.DTO.CandidateAnswerCreateDTO;
import org.yinweichen.llm_dataset_backend.DTO.CandidateAnswerUpdateDTO;
import org.yinweichen.llm_dataset_backend.entity.CandidateAnswer;

import java.util.List;

public interface CandidateAnswerService {
    ResponseEntity<CandidateAnswer> create(CandidateAnswerCreateDTO request);
    ResponseEntity<List<CandidateAnswer>> getByQuestion(Long questionId, String version);
    ResponseEntity<?> update(CandidateAnswerUpdateDTO request);
    ResponseEntity<Void> delete(Long id, String version);
}